package com.service.business.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.business.member.controller.rep.MemberRWRep;
import com.service.dao.enums.CoinsEnum;
import com.service.dao.model.RwRecord;
import com.service.business.member.controller.req.RWRecordPageReq;
import com.service.core.rest.response.CommonPageRep;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年09月24日</dd>
 * </dl>
 *
 * @author
 */
public interface MemberRWService extends IService<RwRecord> {


    CommonPageRep<MemberRWRep> pageRWRecord(RWRecordPageReq pageReq, Integer optTpe);

    BigDecimal getSomedayWithdrawNum(Integer memberId, CoinsEnum coins, Date someday);

    void doAddRWRecord();

}
